package com.gxa.modules.pojo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "催收表的实体")
public class Collection {
  @ApiModelProperty(name = "id",notes = "主键",dataType = "Integer",required = false)
  private Integer id;
  @ApiModelProperty(name = "user_id",notes = "客户id",dataType = "Integer",required = true)
  private Integer customer_id;
  @ApiModelProperty(name ="loan_id",notes = "借款id", dataType = "Integer",required = true)
  private Integer loan_id;
  @ApiModelProperty(name ="overdue_id",notes = "逾期", dataType = "Integer",required = true)
  private Integer overdue_id;
  @ApiModelProperty(name ="remind_id",notes = "提醒表id", dataType = "Integer",required = true)
  private Integer remind_id;
  @ApiModelProperty(name ="collection_way",notes = "催收方式", dataType = "String",required = true)
  private String collection_way;
  @ApiModelProperty(name ="collection_time",notes = "催收日期", dataType = "Date",required = true)
  private Date collection_time;
  @ApiModelProperty(name ="collection_feedback",notes = "催收反馈", dataType = "String",required = true)
  private String collection_feedback;
  @ApiModelProperty(name ="collection_yhmoney",notes = "催收已还款", dataType = "String",required = true)
  private String collection_yhmoney;
  @ApiModelProperty(name ="collection_status",notes = "催收结果（状态）", dataType = "Integer",required = true)
  private String collection_status;
  @ApiModelProperty(name ="status",notes = "状态", dataType = "Integer",required = true)
  private Integer status;
  private Integer collection_num;

  private Customer customer;//用户
  private Overdue overdue;//逾期
  private Loan loan;//借款表
}
